﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ElsPrices.Dal
{
    public class DBHelp
    {
        public static string ConnectionString = @"DataSource=data.sqlite";
        public static SqlSugarClient GetSqlSugarClient()
        {
            SqlSugarClient sqlSugarClient = new SqlSugarClient(new ConnectionConfig()
            {
                DbType = DbType.Sqlite,
                ConnectionString = ConnectionString,
                IsAutoCloseConnection = true
            });
            return sqlSugarClient;
        }
        public static void IniDB() { 
        
        }
    }
}
